﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Station.Inspect.UI
{
    public partial class FormComReName : Form
    {
        public int CompID { get; set; }
        public FormComReName()
        {
            InitializeComponent();
        }

        private void btnSave_Click(object sender, EventArgs e)
        {
            CompID = int.Parse(tbComID.Text);
            DialogResult = DialogResult.OK;
            this.Close();
        }

        private void FormComReName_Load(object sender, EventArgs e)
        {
            tbComID.Text = CompID.ToString();
        }
    }
}
